package com.jinbo.sxzq;

import android.util.Log;

/***********棋子虎********************/
public class Chess_Hu extends Chess{
    Chess_Hu(int type, int index, int[] location, int owner, GameControl gameControl) {
        /********初始化信息****************/
        super(index, location, owner, gameControl);
        this.type = type;
        this.name = ProjectConstants.ChessName.HU;
        this.message = ProjectConstants.ChessMasage.HU;
        this.type = ProjectConstants.ChessType.HU;
        this.hp = 3;
        this.maxHp = 3;
        this.mp = 0;
        this.maxMp = 0;
        this.mobility = 2;
        this.maxmobility = 2;
        this.atk = 2;
    }

    public void Action(){
        super.Action();
    }

    public void Move(Chess chess){
        super.Move(chess);
    }

    public void Attack(Chess chess){
        super.Attack(chess);
    }

    public void RoundNext(){
        super.RoundNext();
    }

    public void Skill(){
        super.Skill();
    }

    //重写技能虎：【狩猎】每击杀一个敌方棋子获得生命+1，攻击力+1。
    public void Kill(Chess chess){
        super.Kill(chess);
        Log.e("Skill——虎" , "触发技能");
        hp++;
        atk++;
    }
}
